/**
 * createby : JinxLbj
 * date : 2018/8/16
 * desc : Netty子线程
 **/

package com.example.demo.common.thread;

import com.example.demo.netty.NettyServer;
import com.example.demo.netty.service.NettyService;

public class NettyThread extends Thread {

    private NettyServer nettyServer;

    public NettyThread(NettyServer nettyServer) {
        this.nettyServer = nettyServer;
    }

    @Override
    public void run() {
        nettyServer.start();

    }

}
